package com.huawei.tree.huffman_tree;

//测试类
public class Test {
    public static void main(String[] args) {
        int[] array = {13,7,8,3,29,6,1};
        Node huffmanTree = HuffmanTree.createHuffmanTree(array);
        huffmanTree.preOrder1();
        System.out.println();
        huffmanTree.preOrder2();
    }
}
